using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using ilgolosone.UI.Models;
using ilgolosone.UI.Extensibility.ActionFilters;
using ilgolosone.DomainModel.Entities;

namespace ilgolosone.UI.Controllers
{
    public class ReservationController : Controller
    {
        //
        // GET: /Reservation/
        [ConsumeUnitOfWork]
        [AcceptVerbs(HttpVerbs.Post)]
        [MapObjects(typeof(Reservation), typeof(ReservationView))]
        public ActionResult Reserve(ReservationView reservation)
        {
            return View();
        }


        public ActionResult Index(Guid restaurantId)
        {
            ViewData.Add("RestaurantId", restaurantId);
            return View();
        }

    }
}
